package com.wu.ssm.study.adaptor.oppAdapter;

/**
 * Created by wzf on 2018/11/9/009.
 */
public class ElectricCooker {
    private JP110VInterface jp110VInterface;//日本电饭煲，用的是日本110V标准电源接口
    ElectricCooker(JP110VInterface jp110VInterface){
        this.jp110VInterface=jp110VInterface;
    }
    void cook(){
        jp110VInterface.connect();//接通电源
        System.out.println("开始做饭......");
    }
}
